﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace AnesSystem.Controls
{
    /// <summary>
    /// CustomComBoxTaiShuCtrl.xaml 的交互逻辑
    /// </summary>
    public partial class CustomComBoxTaiShuCtrl : CustomCtrl
    {
        public CustomComBoxTaiShuCtrl()
        {
            InitializeComponent();

            List<CommonComboboxItemModel> list = new List<CommonComboboxItemModel>()
            { new CommonComboboxItemModel() { Behind="",Display=""},
                new CommonComboboxItemModel() { Behind="1",Display="1"},
               new CommonComboboxItemModel() { Behind="2",Display= "2"},
                new CommonComboboxItemModel() { Behind="3",Display="3"},
                new CommonComboboxItemModel() { Behind="4",Display="4"},
               new CommonComboboxItemModel() { Behind="5",Display= "5"},
               new CommonComboboxItemModel() { Behind="6",Display= "6"},
              new CommonComboboxItemModel() { Behind="7",Display=  "7"},
               new CommonComboboxItemModel() { Behind="8",Display= "8"},
                new CommonComboboxItemModel() { Behind="9",Display="9"},
               new CommonComboboxItemModel() { Behind="10",Display= "10"},
               new CommonComboboxItemModel() { Behind="11",Display= "11"},
              new CommonComboboxItemModel() { Behind="12",Display=  "12"},
               new CommonComboboxItemModel() { Behind="13",Display= "13"},
                new CommonComboboxItemModel() { Behind="14",Display="14"},
               new CommonComboboxItemModel() { Behind="15",Display= "15"},
               new CommonComboboxItemModel() { Behind="16",Display= "16"},
              new CommonComboboxItemModel() { Behind="17",Display=  "17"},
               new CommonComboboxItemModel() { Behind="18",Display= "18"},
              new CommonComboboxItemModel() { Behind="19",Display=  "19"},
               new CommonComboboxItemModel() { Behind="20",Display= "20"},
                new CommonComboboxItemModel() { Behind="21",Display= "21"},
                 new CommonComboboxItemModel() { Behind="22",Display= "22"},
                  new CommonComboboxItemModel() { Behind="23",Display= "23"},
                   new CommonComboboxItemModel() { Behind="24",Display= "24"},
                    new CommonComboboxItemModel() { Behind="25",Display= "25"},
                    new CommonComboboxItemModel() { Behind="26",Display= "26"},
                    new CommonComboboxItemModel() { Behind="27",Display= "27"},
                    new CommonComboboxItemModel() { Behind="28",Display= "28"},
                    new CommonComboboxItemModel() { Behind="29",Display= "29"},
                    new CommonComboboxItemModel() { Behind="30",Display= "30"},
                    new CommonComboboxItemModel() { Behind="31",Display= "31"},
                    new CommonComboboxItemModel() { Behind="32",Display= "32"},
                    new CommonComboboxItemModel() { Behind="33",Display= "33"},
                    new CommonComboboxItemModel() { Behind="34",Display= "34"},
                    new CommonComboboxItemModel() { Behind="35",Display= "35"},
                    new CommonComboboxItemModel() { Behind="36",Display= "36"},
                    new CommonComboboxItemModel() { Behind="37",Display= "37"},
                    new CommonComboboxItemModel() { Behind="38",Display= "38"},
                    new CommonComboboxItemModel() { Behind="39",Display= "39"},
                    new CommonComboboxItemModel() { Behind="40",Display= "40"},
            };
            this._hxCmp.ItemsSource = list;
        }
    }
}
